package edu.yuhf.service;

import java.util.List;

import edu.yuhf.dao.iface.PermissionDao;
import edu.yuhf.dao.oracle.PermissionOracleDaoImpl;
import edu.yuhf.domain.Permission;
import edu.yuhf.service.iface.PermissionService;

public class PermissionServiceImpl implements PermissionService{

	private PermissionDao permissionDao=new PermissionOracleDaoImpl();
	
	@Override
	public List<Permission> getPermissions(String userName) {
		return permissionDao.getPermissions(userName);
	}

}
